/***************************************************************
 * Name:      EditorMain.h
 * Purpose:   Defines Application Frame
 * Author:     ()
 * Created:   2014-08-18
 * Copyright:  ()
 * License:
 **************************************************************/

#ifndef EDITORMAIN_H
#define EDITORMAIN_H

//(*Headers(EditorFrame)
#include <wx/menu.h>
#include <wx/splitter.h>
#include <wx/glcanvas.h>
#include <wx/toolbar.h>
#include <wx/grid.h>
#include <wx/filedlg.h>
#include <wx/frame.h>
#include <wx/statusbr.h>
//*)

class EditorFrame: public wxFrame
{
    public:

        EditorFrame(wxWindow* parent,wxWindowID id = -1);
        virtual ~EditorFrame();

    private:

        //(*Handlers(EditorFrame)
        void OnQuit(wxCommandEvent& event);
        void OnAbout(wxCommandEvent& event);
        void OnClose(wxCloseEvent& event);
        void OnClose1(wxCloseEvent& event);
        void OnOpen(wxCommandEvent& event);
        void OnSave(wxCommandEvent& event);
        void OnSaveAs(wxCommandEvent& event);
        void OnNew(wxCommandEvent& event);
        void OnGrid1CellLeftClick(wxGridEvent& event);
        //*)

        //(*Identifiers(EditorFrame)
        static const long ID_GLCANVAS1;
        static const long ID_GRID1;
        static const long ID_SPLITTERWINDOW1;
        static const long idMenuNew;
        static const long idMenuOpen;
        static const long idMenuSave;
        static const long idMenuSaveAs;
        static const long idMenuQuit;
        static const long idMenuAbout;
        static const long ID_STATUSBAR1;
        static const long idNewTool;
        static const long idOpenTool;
        static const long idSaveTool;
        static const long idSaveAsTool;
        static const long idUndoTool;
        static const long idRedoTool;
        static const long ID_TOOLBAR1;
        //*)

        //(*Declarations(EditorFrame)
        wxToolBarToolBase* ToolBarItem4;
        wxMenuItem* newMenuItem;
        wxToolBarToolBase* ToolBarItem3;
        wxToolBarToolBase* newToolBarItem;
        wxMenuItem* openMenuItem;
        wxToolBar* toolBar;
        wxMenuItem* MenuItem1;
        wxGLCanvas* glCanvas;
        wxFileDialog* fileOpenDialog;
        wxGrid* Grid1;
        wxToolBarToolBase* ToolBarItem1;
        wxFileDialog* fileSaveDialog;
        wxMenuItem* saveMenuItem;
        wxStatusBar* statusBar;
        wxToolBarToolBase* ToolBarItem5;
        wxSplitterWindow* SplitterWindow1;
        wxToolBarToolBase* ToolBarItem2;
        //*)

        DECLARE_EVENT_TABLE()
};

#endif // EDITORMAIN_H
